import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        int arr[]=new int[10];
        System.out.println(arr[10]);
    }
    public int countArrangement(int n) {
        boolean[] booleans=new boolean[n+1];
        return dfs(1,n,booleans);
    }
    public int dfs(int index,int n,boolean[] booleans){
        if(index>n){
            return 1;
        }
        int ret=0;
        for(int i=1;i<=n;i++){
            if(!booleans[i]&&(i%index==0||index%i==0)){
                booleans[i]=true;
                ret+=dfs(index+1,n,booleans);
                booleans[i]=false;
            }
        }
        return ret;
    }





















    public int[] decode(int[] encoded) {
        int len=encoded.length+1;
        int sum=0;
        for(int i=1;i<=len;i++){
            sum^=i;
        }
        int odd=0;
        for(int i=1;i<len-1;i+=2){
            odd^=encoded[i];
        }
        int[] arr=new int[len];
        arr[0]=sum^odd;
        for(int i=0;i<len-1;i++){
            arr[i+1]=arr[i]^encoded[i];
        }
        return arr;
    }




















    public int prefixCount(String[] words, String pref) {
        int ret=0;
        for(String s:words){
            boolean bool=false;
            if(s.length()>=pref.length()&&s.substring(0,pref.length()).equals(pref)){
                ret++;
            }
        }
        return ret;
    }




















    public int addDigits(int num) {
        int tmp=0;
        while (num>9){
            tmp=0;
            while (num!=0){
                tmp+=num%10;
                num/=10;
            }
            num=tmp;
        }
        return num;
    }













    public static void main5(String[] args) {
        Object o=new Object(){
            public boolean equals(Object obj){
                return true;
            }
        };
        System.out.println(o.equals("Fred"));
    }














    public static void main3(String[] args) {
        Main a=new Main();
        System.out.println(a.add(9,34));
    }
    public int add(int x,int y){
        try {
            return x+y;
        }catch (Exception e){
            System.out.println("catch");
        }finally {
            System.out.println("finally");
        }
        return 0;
    }











    public static void main4(String[] args) {
        StringBuffer a=new StringBuffer("A");
        StringBuffer b=new StringBuffer("B");
        add1(a,b);
        System.out.println(a+","+b);
    }
    public static void add1(StringBuffer a,StringBuffer b){
        a.append(b);
        b=a;
    }












    public static void main2(String[] args) {
        try {
            int i=100/0;
            System.out.println(i);
        }catch (Exception e){
            System.out.println(1);
            throw new RuntimeException();
        }finally {
            System.out.println(2);
        }
        System.out.println(3);
    }






















    public static void main1(String[] args) {
        Scanner scanner=new Scanner(System.in);
        while (scanner.hasNext()){
            String str=scanner.nextLine();
            int ret=0;
            int len=str.length();
            if(len<=4){
                ret+=5;
            }else if(len<=7){
                ret+=10;
            }else{
                ret+=25;
            }
            int lower=0;
            int up=0;
            int math=0;
            int symbol=0;
            for(char ch:str.toCharArray()){
                if(ch>='a'&&ch<='z'){
                    lower++;
                }else if(ch>='A'&&ch<='Z'){
                    up++;
                }else if(ch>='0'&&ch<='9'){
                    math++;
                }else{
                    symbol++;
                }
            }
            if((lower==0&&up!=0)||(lower!=0&&up==0)){
                ret+=10;
            }else if(lower!=0&&up!=0){
                ret+=20;
            }
            if(math==1){
                ret+=10;
            }else if(math>1){
                ret+=20;
            }
            if(symbol==1){
                ret+=10;
            }else if(symbol>1){
                ret+=25;
            }
            int sum=0;
            if((lower+up!=0)&&math!=0&&symbol==0){
                sum=2;
            }else if((lower+up!=0)&&math!=0&&symbol!=0){
                sum=3;
                if(lower!=0&&up!=0){
                    sum=5;
                }
            }
            ret+=sum;
            if(ret>=90){
                System.out.println("VERY_SECURE");
            }else if(ret>=80){
                System.out.println("SECURE");
            }else if(ret>=70){
                System.out.println("VERY_STRONG");
            }else if(ret>=60){
                System.out.println("STRONG");
            }else if(ret>=50){
                System.out.println("AVERAGE");
            }else if(ret>=25){
                System.out.println("WEAK");
            }else{
                System.out.println("VERY_WEAK");
            }
        }
    }
}











class Board {
    public boolean checkWon(int[][] board) {
        // write code here
        boolean bool=false;
        if((board[0][0]+board[1][1]+board[2][2]==3)||(board[0][2]+board[1][1]+board[2][0]==3)){
            bool=true;
        }
        for(int i=0;i<3;i++){
            if((board[i][0]+board[i][1]+board[i][2]==3)||(board[0][i]+board[1][i]+board[2][i]==3)){
                bool=true;
            }
        }
        return bool;
    }
}